package com.biz.service.basic;

import com.biz.model.Hmodel.TBizPerson;
import com.biz.model.Hmodel.TSysUser;
import com.biz.model.Pmodel.sys.Puser;
import com.biz.service.base.BaseServiceI;
import com.framework.model.Paging;

import java.util.Map;

/**
 * Created by tomchen on 17/1/11.
 */
public interface BizpersonServiceI extends BaseServiceI<TBizPerson> {
    /**
     * 加载用户列表（志愿者管理员）
     * @param map
     * @return
     * @throws Exception
     */
    Paging<Puser> queryBizpersons(Map map) throws Exception;

    /**
     * 加载用户
     * @param id
     * @return
     */
    TSysUser getTsysUserById(String id);

    /**
     * 新增或修改用户
     * @param user
     */
    void addOrUpdateByPuser(Puser user)throws Exception;


    /**
     * 会员展示
     * @param map
     * @return
     * @throws Exception
     */
    Paging<Puser> showBizMebList(Map map)throws Exception;


}

